From: | Allan Odgaard |
Date: | 02 Aug 99 at 22:57:48 |
Subject: | Re: textfield problems :( |
From: Allan Odgaard <Duff@DIKU.DK>
On 02-Aug-99, Duncan Strand wrote:
> Then when this line is run the program crashes
> TextFieldClass = TEXTFIELD_GetClass();
> With enforcer reporting: [...] Illegal instruction
The problem seems to be that the correct library base is not used, when calling
GetClass(), thus resulting in a jump to a random place in memory.
You can probably verify this by looking at the assembler output.
> I'm using DiceC.
I have no experiences with this compiler - you could try to re-generate include
files from the textfield.fd file, if you haven't already done that. As it may
be that the included files aren't compatible with DiceC...
Do you declare the TextFieldBase yourself someplace? Cause I think you must do
this...
Regards Allan